package com.yzh.service.Impl;

import com.yzh.domain.LoginUser;
import com.yzh.mapper.LoginUserMapper;
import com.yzh.service.LoginUserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class LoginUserServiceImpl implements LoginUserService {

    @Resource
    LoginUserMapper loginUserMapper;

    @Override
    public LoginUser login(String username, String password) {
        return loginUserMapper.login(username,password);
    }
}
